package nc.itf.caa;

import nc.bs.framework.server._ServerForEJBNCLocator;
import nc.bs.pub.BusinessObject;

/**
 * business service ejb wrapper 
 * Created by EJBGenerator
 * based on velocity technology
 */

public class  caaejbEjbBean extends BusinessObject{
	private Object thisService;
	
	public void ejbActivate(){}
	public void ejbPassivate(){}
	public void ejbRemove(){}
	
	public caaejbEjbBean() {
		thisService=(Object)_ServerForEJBNCLocator.lookup("nc.itf.caa.caaejb");
	}
	public void ejbCreate(){
		if(thisService == null)
			thisService=(Object)_ServerForEJBNCLocator.lookup("nc.itf.caa.caaejb");
	}
	
	public  Object getService() {
		if(thisService == null)
			thisService=(Object)_ServerForEJBNCLocator.lookup("nc.itf.caa.caaejb");			
		return thisService;
	}
	public nc.itf.capub.datamanager.SyncDataTaskRtn excelDataImport(java.util.ArrayList  arg0 ,nc.vo.capub.meta.MetaAggVO  arg1  ,nc.vo.capub.basevo.ClientEnvVO  arg2 ) throws Exception{
		
		return ((nc.itf.capub.datamanager.DataManager )getService()).excelDataImport(arg0 ,arg1  ,arg2 );		
	}
	public nc.itf.capub.datamanager.SyncDataTaskRtn syncDataByBlock(nc.itf.capub.datamanager.SyncDataTaskParam  arg0 ,nc.vo.capub.basevo.ClientEnvVO  arg1 ) throws Exception{
		
		return ((nc.itf.capub.datamanager.DataManager )getService()).syncDataByBlock(arg0 ,arg1 );		
	}
	public nc.vo.pub.AggregatedValueObject deleteBill(nc.vo.pub.AggregatedValueObject  arg0) throws Exception{
		
		return ((nc.itf.capub.plantbusiness.IAccountDelete )getService()).deleteBill(arg0);		
	}
	public void deleteAccountByBillPks(java.lang.String[]  arg0 ,java.lang.String  arg1 ) throws Exception{
		
		((nc.itf.capub.plantbusiness.IAccountDelete )getService()).deleteAccountByBillPks(arg0 ,arg1 );
		
	}
	public java.util.ArrayList saveBill(nc.vo.pub.AggregatedValueObject  arg0) throws Exception{
		
		return ((nc.itf.capub.plantbusiness.IAccountSave )getService()).saveBill(arg0);		
	}
	public void dataHandling(java.lang.String  arg0 ,nc.vo.pub.lang.UFDate  arg1  ,nc.vo.pub.lang.UFBoolean  arg2 ) throws Exception{
		
		((nc.itf.caa.plugin.IDataHand )getService()).dataHandling(arg0 ,arg1  ,arg2 );
		
	}
	public java.lang.String[][] getValuesByPks(java.lang.String  arg0 ,java.lang.String[]  arg1  ,java.lang.String  arg2  ,java.lang.String[]  arg3  ,boolean  arg4 ) throws Exception{
		
		return ((nc.itf.capub.pubitf.IFTBatchValueGetter )getService()).getValuesByPks(arg0 ,arg1  ,arg2  ,arg3  ,arg4 );		
	}
	public java.lang.String[][] getValuesByPks(java.lang.String  arg0 ,java.lang.String[]  arg1  ,java.lang.String  arg2  ,java.lang.String[]  arg3 ) throws Exception{
		
		return ((nc.itf.capub.pubitf.IFTBatchValueGetter )getService()).getValuesByPks(arg0 ,arg1  ,arg2  ,arg3 );		
	}
	public java.util.ArrayList getContractByTestscope(java.lang.String  arg0 ,java.lang.String[]  arg1 ) throws Exception{
		
		return ((nc.itf.capub.pubitf.IFTBatchValueGetter )getService()).getContractByTestscope(arg0 ,arg1 );		
	}
	public void genTallyByDuebill(nc.itf.capub.datamanager.SyncDataTaskParam  arg0 ,nc.vo.capub.basevo.ClientEnvVO  arg1 ) throws Exception{
		
		((nc.itf.caa.plugin.IGenCdaTally )getService()).genTallyByDuebill(arg0 ,arg1 );
		
	}
	public void genTallyByCDAResult(nc.vo.pub.AggregatedValueObject  arg0) throws Exception{
		
		((nc.itf.caa.plugin.IGenCdaTally )getService()).genTallyByCDAResult(arg0);
		
	}
	public void CaaTallyToCdaTally(nc.itf.capub.datamanager.SyncDataTaskParam  arg0 ,nc.vo.capub.basevo.ClientEnvVO  arg1 ) throws Exception{
		
		((nc.itf.caa.plugin.IGenCdaTally )getService()).CaaTallyToCdaTally(arg0 ,arg1 );
		
	}
	public void GenVoucher(java.lang.String  arg0 ,java.lang.String  arg1  ,java.lang.String  arg2  ,nc.vo.pub.lang.UFDate  arg3 ) throws Exception{
		
		((nc.itf.capub.voucher.IGenVoucher )getService()).GenVoucher(arg0 ,arg1  ,arg2  ,arg3 );
		
	}
	public int ExeSQL(java.lang.String  arg0) throws Exception{
		
		return ((nc.itf.capub.voucher.IGenVoucher )getService()).ExeSQL(arg0);		
	}
	public nc.vo.pub.SuperVO[] getChildVO(java.util.ArrayList  arg0 ,java.lang.String  arg1  ,java.lang.String  arg2  ,java.util.HashMap  arg3 ) throws Exception{
		
		return ((nc.itf.capub.formular.INFTFormulaParse )getService()).getChildVO(arg0 ,arg1  ,arg2  ,arg3 );		
	}
	public java.util.ArrayList ImpPrepareData(java.util.ArrayList  arg0 ,java.lang.String  arg1  ,java.lang.String  arg2 ) throws Exception{
		
		return ((nc.itf.capub.fileparse.INFTImportFile )getService()).ImpPrepareData(arg0 ,arg1  ,arg2 );		
	}
	public int getDBType(java.lang.String  arg0) throws Exception{
		
		return ((nc.itf.capub.pubitf.INFTPub )getService()).getDBType(arg0);		
	}
	public java.util.Vector executeSqlQuery(java.lang.String  arg0) throws Exception{
		
		return ((nc.itf.capub.pubitf.INFTPub )getService()).executeSqlQuery(arg0);		
	}
	public java.lang.String executeSqlUpdate(java.lang.String  arg0 ,java.lang.String  arg1 ) throws Exception{
		
		return ((nc.itf.capub.pubitf.INFTPub )getService()).executeSqlUpdate(arg0 ,arg1 );		
	}
	public void executeSqlUpdate(java.lang.String  arg0) throws Exception{
		
		((nc.itf.capub.pubitf.INFTPub )getService()).executeSqlUpdate(arg0);
		
	}
	public void executeSql(java.lang.String[]  arg0 ,java.lang.String  arg1 ) throws Exception{
		
		((nc.itf.capub.pubitf.INFTPub )getService()).executeSql(arg0 ,arg1 );
		
	}
	public void executeSql(java.lang.String[]  arg0) throws Exception{
		
		((nc.itf.capub.pubitf.INFTPub )getService()).executeSql(arg0);
		
	}
	public int getTzDays(java.lang.String  arg0) throws Exception{
		
		return ((nc.itf.capub.pubitf.INFTPub )getService()).getTzDays(arg0);		
	}
	public java.lang.String getOID(java.lang.String  arg0) throws Exception{
		
		return ((nc.itf.capub.pubitf.INFTPub )getService()).getOID(arg0);		
	}
	public java.util.ArrayList getDataFormFtp(nc.vo.capub.meta.MetaAggVO  arg0) throws Exception{
		
		return ((nc.itf.capub.pubitf.INFTPub )getService()).getDataFormFtp(arg0);		
	}
	public java.util.List getDataInfoByPage(nc.vo.pub.SuperVO  arg0 ,nc.ui.bill.depend.PageInfo  arg1  ,java.lang.String  arg2 ) throws Exception{
		
		return ((nc.itf.capub.pubitf.IPageNavigation )getService()).getDataInfoByPage(arg0 ,arg1  ,arg2 );		
	}
	public int getRecordNum(nc.vo.pub.SuperVO  arg0 ,java.lang.String  arg1 ) throws Exception{
		
		return ((nc.itf.capub.pubitf.IPageNavigation )getService()).getRecordNum(arg0 ,arg1 );		
	}
	public nc.vo.capub.formular.FormularVO[] initFormular(java.lang.String  arg0 ,java.lang.String  arg1 ) throws Exception{
		
		return ((nc.itf.capub.formular.ITFFormular )getService()).initFormular(arg0 ,arg1 );		
	}
	public void checkTallyApprove(nc.vo.pub.SuperVO[]  arg0 ,java.lang.String  arg1 ) throws Exception{
		
		((nc.itf.capub.tallyquery.ITallyQuery )getService()).checkTallyApprove(arg0 ,arg1 );
		
	}
	public nc.vo.pub.SuperVO[] getResultVO(java.util.HashMap  arg0 ,java.lang.String  arg1 ) throws Exception{
		
		return ((nc.itf.capub.tallyquery.ITallyQuery )getService()).getResultVO(arg0 ,arg1 );		
	}
	public nc.itf.capub.datamanager.SyncDataTaskRtn runTask_RequiresNew(java.lang.String  arg0 ,java.lang.String  arg1  ,nc.vo.pub.lang.UFBoolean  arg2  ,nc.vo.capub.basevo.ClientEnvVO  arg3 ) throws Exception{
		
		return ((nc.itf.capub.taskschedule.ITaskRun )getService()).runTask_RequiresNew(arg0 ,arg1  ,arg2  ,arg3 );		
	}
	public java.lang.String insertLog_RequiresNew(nc.vo.pub.SuperVO  arg0) throws Exception{
		
		return ((nc.itf.capub.taskschedule.ITaskRun )getService()).insertLog_RequiresNew(arg0);		
	}
	public void updateLog_RequiresNew(nc.vo.pub.SuperVO  arg0) throws Exception{
		
		((nc.itf.capub.taskschedule.ITaskRun )getService()).updateLog_RequiresNew(arg0);
		
	}
	public void aprroveBill_RequiresNew(nc.vo.pub.AggregatedValueObject  arg0) throws Exception{
		
		((nc.itf.capub.taskschedule.ITaskRun )getService()).aprroveBill_RequiresNew(arg0);
		
	}
}
	